package com.jyk.blog.po;

public class User {
    private int nid;
    private String name;
    private String password;
    private String email;
    private String create_time;

    public int getNid() {
        return nid;
    }

    public void setNid(int nid) {
        this.nid = nid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", create_time='" + create_time + '\'' +
                '}';
    }

    public User() {}

    public User(String name, String password, String email, String create_time) {
        this.name = name;
        this.password = password;
        this.email = email;
        this.create_time = create_time;
    }
}
